<div class="form-group" style="display: none">
	<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">积分奖励</label>
	<div class="col-md-6" >
		<div class="input-group">
			<input type="text" name="goods[credits]" class="form-control" value="{$goods['credits']}" />
			<span class="input-group-addon">积分</span>
		</div>
		<span class="help-block">会员购买单个商品所获得的积分,如果不填或者填0，则默认为不奖励积分。</span>
	</div>
</div>
{if $ispartjob['status']}
<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">佣金计算方式</label>
					<div class="col-xs-12 col-sm-8">
						<div class="input-group">
							
					<label class="radio radio-inline">
							<input type="radio" name="goods[commissiontype]" value="1" {if intval($goods['commissiontype']) ==1}checked="checked"{/if}> 百分比
						</label>
						<label class="radio radio-inline">
							<input type="radio" name="goods[commissiontype]" value="2" {if intval($goods['commissiontype']) ==2 }checked="checked"{/if}> 固定金额
						</label>
						</div>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">佣金</label>
					<div class="col-xs-12 col-sm-8">
					<div class="input-group">
						<input type="text" name="goods[commission]" class="form-control" value="{$goods['commission']}" />
						<span class="input-group-addon">请填写数字 如50% 写50,固定金额 50元 就填 50 </span>
					</div>
					</div>
				</div>
{/if}
{if $isonesbuy['status']}
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">单次购买数量上限</label>
	<div class="col-md-6">
		<div class="input-group">
			<input type="text" name="goods[one_limit]" class="form-control" value="{$goods['one_limit']}" />
			<span class="input-group-addon">件</span>
		</div>
		<span class="help-block">每次购买该商品数量上限,如果不填或者填0，则默认为“单次只能购买1个”。</span>
	</div>
</div>
{/if}
{if $ismorebuy['status']}
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">每人购买总数量上限</label>
	<div class="col-md-6">
		<div class="input-group">
			<input type="text" name="goods[many_limit]" class="form-control" value="{$goods['many_limit']}" />
			<span class="input-group-addon">件</span>
		</div>
		<span class="help-block">每个客户购买该商品总量,如果不填或者填0，则默认为无上限。</span>
	</div>
</div>
{/if}
{if $iscost['status']}
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">团长是否优惠</label>
	<div class="col-md-6">
		<label class="radio radio-inline">
			<input type="radio" name="goods[is_discount]" value="1" {if intval($goods['is_discount']) ==1 }checked="checked"{/if} onclick="$('.pic').show();"> 是
		</label>
		<label class="radio radio-inline">
			<input type="radio" name="goods[is_discount]" value="2" {if intval($goods['is_discount']) ==2|| empty($goods['is_discount'])}checked="checked"{/if}  onclick="$('.pic').hide();"> 否
		</label>
	</div>
</div>
<div class="form-group pic" {if $goods['is_discount']!=1}style="display: none;"{/if}>
	<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">团长优惠多少元</label>
	<div class="col-md-6">
		<div class="input-group">
			<input type="text" name="goods[firstdiscount]" class="form-control" value="{$goods['firstdiscount']}" />
			<span class="input-group-addon">元</span>
		</div>
		<span class="help-block">例子：原价100元，此处填5元，团长只需支付95元。支付价格最低需要0.01元。</span>
	</div>
</div>
{/if}